/* 引入PingFang字体 */
@font-face {
    font-family: "PingFang SC";
    src: url("~@/assets/fonts/PingFang-SC-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* 引入旁门正道字体 */
@font-face {
    font-family: "PangMen";
    src: url("~@/assets/fonts/PangMenZhengDaoBiaoTiTi-1.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

* {
    /* font-size: 16px; */
}

html {
    user-select: none;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    line-height: normal;
    font-family: PingFang SC;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* 1920*1080 尺寸下等于 10px */
    font-size: 0.5208333333333334vw;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 布局类 */
#app {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-image: url("~@/assets/img/01.png");
    background-size: 100% 100%;
    overflow: hidden;
}

#header {
    flex-basis: 7rem;
    min-height: 7rem;
}

#body {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}

#aside {
    position: relative;
    display: flex;
    flex-direction: column;
    /* width: 25rem;
    min-width: 25rem; */
    height: 100%;
    /* padding-bottom: 11rem; */
    background: rgba(20, 31, 59, 0.6);
    box-shadow: inset 0 0 3rem #20BCFC;
    border: 1px solid #20BCFC;
    /* overflow: hidden; */
}

#aside::after {
    /* content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3.7rem;
    width: 15rem;
    height: 5rem;
    margin: 0 auto; */
    /* background-image: url("~@/assets/img/07.jpg");
    background-size: 100% 100%; */
}

#main {
    flex-grow: 1;
    height: 100%;
    /* overflow-y: auto; */
    overflow-x: hidden;
    /* overflow: hidden; */
}

#main::-webkit-scrollbar {
    width: 1rem;
    height: 1rem;
}

#main::-webkit-scrollbar-track {
    border-radius: .5rem;
    /* background: rgba(20, 31, 59, 0.6);
    box-shadow: inset 0 0 .3rem #20BCFC;
    border: 1px solid #20BCFC; */
}

#main::-webkit-scrollbar-thumb {
    background: #20BCFC;
    border-radius: .5rem;
}

/* 头部 */
.header__date-wrapper {
    z-index: 999;
    position: absolute;
    top: .8rem;
    left: 2.7rem;
    width: 41rem;
    height: 3.6rem;
    background-image: url("~@/assets/img/02.png");
    background-size: 100% 100%;
    font-size: 1.8rem;
    font-weight: bold;
    color: #23CEFD;
    line-height: 3.6rem;
    padding-left: 2.8rem;
}

.header__title-wrapper {
    pointer-events: none;
    z-index: 999;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 120.5rem;
    height: 10.5rem;
    background-image: url("~@/assets/img/03.png");
    background-size: 100% 100%;
    font-size: 2.5rem;
    line-height: 6.6rem;
    color: #23CEFD;
    font-family: PangMen;
    letter-spacing: .5rem;
    font-weight: normal;
    text-align: center;
    margin: 0 auto;
}

.header__empty-wrapper {
    z-index: 999;
    position: absolute;
    top: .8rem;
    right: 17rem;
    width: 26.7rem;
    height: 3.6rem;
    background-image: url("~@/assets/img/04.png");
    background-size: 100% 100%;
}

.header__empty-wrapper img {
    position: absolute;
    right: 3rem;
    top: 1rem;
    width: 1.6rem;
    height: 1.6rem;
    cursor: pointer;
}

.header__user-wrapper {
    z-index: 999;
    box-sizing: content-box;
    position: absolute;
    top: 1.4rem;
    right: 2.7rem;
    display: flex;
    align-items: center;
    height: 2.4rem;
    padding-left: 3.2rem;
    background-image: url("~@/assets/img/05.png");
    background-size: 2.2rem 2.4rem;
    background-repeat: no-repeat;
    padding-bottom: 1rem;
    font-size: 1.8rem;
    color: #23CEFD;
    font-weight: bold;
    cursor: pointer;
}

.header__user-wrapper::after {
    content: "";
    width: 1.5rem;
    height: .9rem;
    min-width: 1.5rem;
    background-image: url("~@/assets/img/06.png");
    background-size: 100% 100%;
    margin-left: .7rem;
    margin-top: .3rem;
    transition: transform .3s;
}

.header__user-wrapper:hover::after {
    transform: rotate(180deg);
}

.header__downdrop-wrapper {
    visibility: hidden;
    position: absolute;
    right: 0rem;
    top: 3.5rem;
    width: 16.7rem;
}

.header__downdrop-wrapper::before {
    content: "";
    position: absolute;
    top: -.5rem;
    right: 3rem;
    width: 0;
    height: 0;
    border-left: .5rem solid transparent;
    border-right: .5rem solid transparent;
    border-bottom: .5rem solid #23CEFD;
}

.header__downdrop-list {
    height: 1rem;
    overflow: hidden;
    transition: height .3s;
}

.header__downdrop-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 6rem;
    padding-left: 3.6rem;
    font-size: 1.6rem;
    color: #23CEFD;
}

.header__downdrop-item i {
    position: relative;
    z-index: 20;
}

.header__downdrop-text {
    position: relative;
    z-index: 20;
    margin-left: 1rem;
}

.header__downdrop-item::after {
    content: "";
    z-index: 10;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: 12rem;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(35, 206, 253, 0) 0%,
            rgba(35, 206, 253, 0.98) 48%,
            rgba(35, 206, 253, 0) 100%);
    transition: all .3s;
    border-radius: 100%;
}

.header__downdrop-item:hover {
    color: #fff;
}

.header__downdrop-item:hover::after {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.header__user-wrapper:hover .header__downdrop-wrapper {
    visibility: visible;
}

.header__user-wrapper:hover .header__downdrop-list {
    height: 6rem;
}

/* 数据总览 */
.dashboard {
    display: flex;
    height: 100%;
    overflow: hidden;
}

.dashboard__main {
    flex-grow: 1;
    margin-left: 3rem;
    overflow: hidden;
}

.dashboard__slide {
    width: 58.5rem;
    margin: 0 3rem;
    overflow: hidden;
}

.dashboard__column-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.dashboard__column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 24rem;
    height: 14rem;
}

.dashboard__column-count {
    font-size: 4.2rem;
    font-weight: bold;
    color: #58DBFF;
    text-align: center;
}

.dashboard__column-count::after {
    content: "人";
    font-size: 2.3rem;
}

.dashboard__column-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 13.5rem;
    height: 2.8rem;
    background: linear-gradient(90deg, #006AE1, #16B7FF);
    border-radius: .4rem;
    font-size: 1.6rem;
    font-weight: bold;
    color: #FFFFFF;
    margin: 1.2rem auto 0 auto;
}

.dashboard__column-title {
    font-size: 1.6rem;
    font-weight: 400;
    color: #23CEFD;
    padding: 0 1.6rem;
    margin-top: 1rem;
}

.dashboard__main-container {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

.dashboard__main-header {
    z-index: 30;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 3rem;
    padding-top: .5rem;
}

.dashboard__main-chart {
    height: 26.5rem;
}

.dashboard__slide-container {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

.dashboard__slide-item {
    width: 26.4rem;
    height: 12rem;
    line-height: 12rem;
    text-align: center;
    background-image: url("~@/assets/img/31.png");
    background-size: 100% 100%;
    margin: 2.2rem auto;
    font-size: 4rem;
    font-weight: bold;
    color: #2CA7F3;
}

.dashboard__slide-item::after {
    content: "人";
    font-size: 2rem;
}

.dashboard__slide-chart {
    height: 33.3rem;
}

/* 日历 */
.calendar {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
    width: 100%;
}

/* 自定义客群 */
.customize {
    padding: 0 3rem;
}

.customize__wrapper {
    margin: 2rem 0;
}

.customize__header {
    z-index: 20;
    position: relative;
    display: flex;
}

.customize__tip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.6rem;
    color: #23CEFD;
    margin: 2rem;
}

.customize__form-item {
    margin: 2rem;
    padding: 2rem;
    box-shadow: inset 0 0 1rem #20BCFC;
    border-radius: 1rem;
}

.customize__form-label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10.7rem;
    height: 4.7rem;
    font-size: 1.8rem;
    font-weight: 400;
    background-size: 100% 100%;
    background-image: url("~@/assets/img/39.png");
    color: #fff;
}

.customize__form-label::after {
    position: absolute;
    right: -72rem;
    top: 50%;
    width: 70rem;
    transform: translateY(-50%);
    content: attr(data-after);
    font-size: 1.6rem;
    color: #FFFFFF;
}

.customize__form-select {
    width: 20rem;
    margin-top: 2rem;
}

.customize__form-input {
    position: relative;
    display: inline-block;
    width: 20rem;
    margin-top: 2rem;
}

.customize__form-input.has-append::after {
    content: "岁";
    position: absolute;
    right: 1.6rem;
    top: 50%;
    font-size: 1.8rem;
    color: #22C7F4;
    transform: translateY(-50%);
}

.customize__separator {
    display: inline-block;
    width: 8rem;
    height: 1px;
    margin: 0 1.5rem;
    vertical-align: middle;
    background: linear-gradient(90deg, rgba(35, 206, 253, 0) 0%, rgba(35, 206, 253, 0.98) 48%, rgba(35, 206, 253, 0) 100%);
}

.customize__form-picker {
    margin-top: 2rem;
}

.customize__form-checkbox {
    margin-left: -2rem;
    margin-bottom: -2rem;
}

.customize__form-textarea {
    width: 50%;
    margin-top: 2rem;
}

.customize__button {
    margin: 5rem;
}

.customize__table-wrapper {
    margin: 2rem 0;
    background: rgba(20, 31, 59, 0.6);
    box-shadow: inset 0 0 3rem #20BCFC;
    border: 1px solid #20BCFC;
}

.customize__table-header {
    display: flex;
    align-items: center;
    height: 10rem;
    padding: 0 3rem;
}

.customize__search {
    position: relative;
    width: 38rem;
}

.customize__search-icon {
    box-sizing: content-box;
    position: absolute;
    right: 0;
    top: 0;
    width: 3.9rem;
    height: 100%;
    padding: 0 1rem;
    background-image: url("~@/assets/img/40.png");
    background-size: 3.9rem 3.9rem;
    background-position: center;
    cursor: pointer;
}

.customize__btn {
    margin-left: 7rem;
}

.customize__pagination {
    margin: 2rem;
}

/* 店铺基本信息 */
.information {
    padding: 0 3rem;
    margin-top: 2rem;
}

.information-row {
    display: flex;
    margin: 2.5rem;
}

.information-label {
    display: flex;
    align-items: center;
    width: 13.9rem;
    height: 4.4rem;
    padding-left: 7rem;
    background-image: url("~@/assets/img/41.png");
    background-size: 100% 100%;
    font-size: 1.6rem;
    font-weight: bold;
    color: #FFFFFF;
    margin-right: 3rem;
}

.infomation-input {
    width: 32.8rem;
}

/* 机器人管理 */
.robot {
    padding: 0 3rem;
    margin-top: 2rem;
}

.robot-row {
    display: flex;
    margin: 2.5rem;
}

.robot-label {
    display: flex;
    align-items: center;
    width: 13.9rem;
    height: 4.4rem;
    padding-left: 7rem;
    background-image: url("~@/assets/img/41.png");
    background-size: 100% 100%;
    font-size: 1.6rem;
    font-weight: bold;
    color: #FFFFFF;
    margin-right: 3rem;
}

.robot-input {
    width: 32.8rem;
}

.robot-button {
    margin: 5rem 19.4rem;
}

/* 通用样式 */
.main {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-content: stretch;
    flex-wrap: wrap;
    padding: 0 3rem;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.main-scrollbar {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 0 15px;
}

.main-scrollbar::-webkit-scrollbar {
    width: 1rem;
    height: 1rem;
}

.main-scrollbar::-webkit-scrollbar-track {
    border-radius: .5rem;
    /* background: rgba(20, 31, 59, 0.6); */
    /* box-shadow: inset 0 0 .3rem #20BCFC; */
    /* border: 1px solid #20BCFC; */
}

.main-scrollbar::-webkit-scrollbar-thumb {
    background: #20BCFC;
    border-radius: .5rem;
}

.main-header {
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.main-table {
    box-sizing: border-box;
    flex: 1 1 auto;
    flex-basis: 0;
    margin-top: 2rem;
    overflow: hidden;
    padding-right: 1px;
    padding-bottom: 1px;
}

.main-pagination {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* 登录页样式 */
.login-page {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 7%;
}

.login-page::after {
    z-index: 10;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url("~@/assets/image/1.jpg");
    background-size: cover;
    background-position: center center;
    /* opacity: 0.5; */
}

.login_imgbox {
    display: flex;
}

.login-container {
    z-index: 20;
    position: relative;
    box-sizing: border-box;
    width: 600px;
    height: 576px;
    background-image: url("~@/assets/image/2.png");
    background-size: 100% 100%;
    overflow: hidden;
    padding: 0 50px;
    scale: 0.7;
}

.login-title {
    font-size: 40px;
    font-family: PangMen;
    color: #48bdd1;
    text-align: center;
    margin-top: 55px;
}

.login-field {
    display: flex;
    align-items: center;
    height: 64px;
    border: 2px solid #00c0ff;
    border-radius: 7px;
    background-color: rgba(72, 189, 209, 0.6);
}

.login-field:nth-child(2) {
    margin-top: 57px;
}

.login-field:nth-child(3) {
    margin-top: 38px;
}

.login-field-icon {
    width: 27px;
    min-width: 27px;
    height: 30px;
    margin-left: 25px;
}

.login-field-value {
    flex-grow: 1;
    background-color: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 23px;
    margin-left: 19px;
}

.login-field-value::placeholder {
    color: #48bdd1;
    font-size: 23px;
}

.login-checkbox {
    display: flex;
    align-items: center;
    margin-top: 33px;
    cursor: pointer;
}

.login-checkbox-icon {
    width: 21px;
    min-width: 21px;
    height: 20px;
}

.login-checkbox-text {
    font-size: 18px;
    font-family: AlibabaPuHuiTi;
    font-weight: 400;
    color: #48bdd1;
    margin-left: 12px;
}

.login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 64px;
    background: #48bdd1;
    opacity: 0.6;
    border-radius: 7px;
    font-size: 30px;
    font-family: AlibabaPuHuiTi;
    font-weight: 400;
    color: #ffffff;
    margin-top: 48px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.login-button:hover {
    opacity: 1;
}

.flex {
    display: flex
}

.flex-1 {
    flex: 1
}

.ml-10 {
    margin-left: 10px
}